﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using graphical_function_explorer.Forms;
using graphical_function_explorer.CalculationLogic;

namespace graphical_function_explorer
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();

            ItemProvider.InitializeLists();
        }

        public void ApplyNewFunction()
        {
            checkedListBox_Functions.Items.Add(ItemProvider.fullEquationList.Last.Value.ToString());
        }

        private void Button_NewCoordinateSystem_Click(object sender, EventArgs e)
        {
            new NewCoordinateSystemForm();
        }

        private void Button_NewFunction_Click(object sender, EventArgs e)
        {
            new NewFunctionForm(this);
        }

        private void Button_DeleteFunction_Click(object sender, EventArgs e)
        {

        }
    }
}
